package com.hyz.login.controller;


import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hyz.login.model.Pharmacy;
import com.hyz.login.service.PharmacyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zwq
 * @since 2022-11-21
 */
@RestController
public class PharmacyController {

    @Autowired
    private PharmacyService pharmacyService;

    @PostMapping("/page/liao/selNum")
    public Object selNum(Integer pharmacyId){
        return pharmacyService.findNumById(pharmacyId);
    }


}

